<div ng-controller="DesktypeCtrl" ng-init="listAction()" class="sui-form form-horizontal">
    <ul class="sui-breadcrumb">
        <li><a href="#">餐桌类型</a></li>
        <li class="active"> {{'列表' | translate}}
            <a href="#/desktype/add"  class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'Name'|translate}}</th>
                <th>{{'最少就餐人数'|translate}}</th>
                <th>{{'最多就餐人数'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in table_type_list">
                <td>{{list.name}}</td>
                <td>{{list.min_seat_num}}
                </td>
                <td>{{list.min_seat_num}}</td>
                <!-- <td>{{list.volume}} -->
                </td>
                <td>
                    <a href="#/desktype/add?table_type_id={{list.table_type_id}}" class="sui-btn btn-success">{{'编辑'|translate}}</a>
                    <!-- <a href="#/faretemp/info?fare_id={{list.fare_id}}" class="sui-btn btn-primary">{{'info'|translate}}</a> -->
                    <a ng-click="Delete(list.table_type_id)" class="sui-btn btn-danger">{{'delete'|translate}}</a>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="tableTotal" get-data="getlist(pageNo)"></pager>
</div>